<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>单选按钮的使用</title>
</head>
<body>
<form action="" method="get">
  <div>
    性别：
    <!--<input type="radio" id="man" name="gender">
    <label for="man">男</label>
    <input type="radio" id="woman" name="gender">
    <label for="woman">女</label>-->

    <label>
      <input type="radio"  name="gender">男
    </label>
    <label>
      <input type="radio"  name="gender">女
    </label>
  </div>
</form>
</body>
</html>